# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python

class Recipe(recipe.Recipe):
    name = 'faad2'
    version = '2.7'
    licenses = [License.GPLv2Plus]
    stype = SourceType.TARBALL
    url = 'http://sourceforge.net/projects/faac/files/faad2-src/faad2-2.7/faad2-2.7.tar.bz2'
    patches = ['faad2/0001-Fix-redefinition-of-off_t.patch',
               'faad2/0002-Add-no-undefined-on-windows.patch']
    autoreconf = True

    files_libs = ['libfaad']
    files_bins = ['faad']
    files_devel = ['include/faad.h', 'include/neaacdec.h', 'include/mp4ff.h',
            'include/mp4ffint.h']
